@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>banner管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <input type="hidden" id="orgId" value="${model.orgId}">
                        <input type="hidden" id="code" value="${model.code}">
                        <input type="hidden" id="isOrg" value="${model.isOrg}">
                        <div class="hidden-xs" id="BannerTableToolbar" role="group">
                            @if(shiro.hasPermission("/banner/add")){
                            <#button name="添加" icon="fa-plus" clickFun="Banner.openAddPtBanner()"/>
                            @}
                            @if(shiro.hasPermission("/banner/edit")){
                            <#button name="修改" icon="fa-edit" clickFun="Banner.openEditBanner()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/banner/delete")){
                            <#button name="删除" icon="fa-remove" clickFun="Banner.delete()" space="true"/>
                            @}
                        </div>
                        <#table id="BannerTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/system/xymh/banner/banner.js"></script>
@}
